Imports Microsoft.VisualBasic
Imports System
Imports System.Collections
Imports System.Configuration
Imports System.Data
Imports System.Linq
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.HtmlControls
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports System.Xml.Linq
Imports System.Collections.Generic
Imports facebook.web
Imports System.Web.Configuration
Imports facebook
Imports facebook.Schema
Imports facebook.Utility

Namespace FBMLSample.handlers
	Partial Public Class infoHandler
		Inherits CanvasFBMLBasePage
		Protected json As String = String.Empty
		Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As EventArgs)
			Me.RequireLogin = True
		End Sub
		Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
			'TODO: need to figure out how to trigger this so I can see what the fields param looks like 
			Dim fields = JSONHelper.ConvertFromJSONAssoicativeArray(Request.Params("fields"))
			For Each field As KeyValuePair(Of String,String) In fields
				Dim label = field.Key
				Dim elements = field.Value
			Next field
		End Sub
	End Class
End Namespace
